package cn.hbads.support;

import cn.hbads.support.log.LogUtil;
import jakarta.annotation.PostConstruct;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

@Configuration
@AutoConfigureOrder(value = 0)
@ComponentScan(basePackages = "cn.hbads.support",
        excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {SupportModule.class}))
public class SupportModule {
    @PostConstruct
    public void moduleInit() {
        LogUtil.info("init module:{},order:{}", this.getClass().getSimpleName(), 0);
    }
}
